package com.rui.study.algorithm.L_深入理解JVM_类加载的时机_不会引发_父类静态字段间接访问;

import sun.reflect.Reflection;

/**
 * @program: study
 * @description:
 * @author: Yaowr
 * @create: 2019-03-05 10:15
 **/
public class Test {

    public static void main(String[] args) {
        ClientClassLoader clientClassLoader = new ClientClassLoader();
        ServerClassLoader loader = new ServerClassLoader(clientClassLoader);
        try {
            Class klass = loader.loadClass("Driver");
            klass.newInstance();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
